from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'DjangoApplication1.views.home', name='home'),
    # url(r'^DjangoApplication1/', include('DjangoApplication1.DjangoApplication1.urls')),
    # url(r'^$', 'DjangoApplication1.MyFirstApp.views.home', name='home'),
    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^$', 'DjangoApplication1.MyFirstApp.views.list_tasks'),
    url(r'^list_tasks$', 'DjangoApplication1.MyFirstApp.views.list_tasks'),
    url(r'^add_task$', 'DjangoApplication1.MyFirstApp.views.add_task'),
    url(r'^update_task$', 'DjangoApplication1.MyFirstApp.views.update_task'),
    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)
